package com.yunhe.common.constant;

/**
 * 定时任务锁常量定义
 * @author liuronglei
 */
public class ShedLockConsts {
    // 定时任务锁分组定义
    public enum Environment {
        Task("ems-task", "定时任务服务"),
        DataTransfer("ems-data-transfer", "数据传输服务");
        private String value;
        private String title;

        Environment(String value, String title) {
            this.value = value;
            this.title = title;
        }

        public String value() {
            return value;
        }
        public String title() {
            return title;
        }
    }
}
